package com.zzw.bean;

/**
 * @author 赵志伟
 * @version 1.0
 */
@SuppressWarnings({"all"})
public class Book{
    private Integer id;
    private Integer age;
    private String myClass;

    public Book(Integer id, Integer age, String myClass) {
        this.id = id;
        this.age = age;
        this.myClass = myClass;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getMyClass() {
        return myClass;
    }

    public void setMyClass(String myClass) {
        this.myClass = myClass;
    }

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", age=" + age +
                ", myClass='" + myClass + '\'' +
                '}';
    }
}
